<div class="global-admin-table">
<table class="admin-table">
	<thead>
		<tr>
			<td>ID</td>
			<td>label</td>
			<td>path</td>
			<td>type</td>
			<td>PID</td>
			<td>options</td>
		</tr>
	</thead>
	<tbody>
<?php foreach($menu->items as $item):
?>
<tr>
	<td><?php echo $item['id']; ?></td>
	<td><?php echo $item['label']; ?></td>
	<td><?php echo $item['path']; ?></td>
	<td><?php echo $item['type']; ?></td>
	<td><?php echo $item['pid']; ?></td>
	<td>
		<a href="<?php echo Agilet::getUrl('admin/appearance/menu/item/edit',array('menu-id'=>$menu->_id,'item-id'=>$item['id'])); ?>">edit</a>
		| <a href="<?php echo Agilet::getUrl('admin/appearance/menu/item/delete',array('menu-id'=>$menu->_id,'item-id'=>$item['id'])); ?>">delete</a>
	</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>